package com.example.zthdemo3.Until;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    private Integer code;
    private String msg;
    private T t;

    public Result(T t) {
       this.code=200;
       this.msg="成功";
        this.t = t;
    }
}
